# 模拟计算器操作：输入第一个整数，输入第二个整数，输入运算符(+-*/),打印结果

# a = int(input('输入第一个整数'))
# b = int(input('输入第二个整数'))
# operator = input('输入运算符(+-*/)')
#
# result='NaN'
# if operator == '+':
#     result = a + b
# elif operator == '*':
#     result = a * b
# elif operator == '-':
#     result = a - b
# elif operator == '/':
#     result = a / b
# print(result)

# -------------------------
# eval()
result1 = eval('2+3')
print(result1)
result2 = '2+3'
print(result2)

print('你好啊!')

# a = input('输入第一个整数')
# b = input('输入第二个整数')
# operator = input('输入运算符(+-*/)')
# res = a + operator + b
# print(eval(res))

eval("print('你好啊!')")
